package com.own.component.util.math.em;

import com.own.base.BaseResponseCode;
import lombok.AllArgsConstructor;

/**
 * MathExceptionEnum
 *
 * @author chenxueli
 * @date 2022-06-15 03:14:15
 */
@AllArgsConstructor
@SuppressWarnings("all")
public enum MathExceptionEnum implements BaseResponseCode {

    DEFAULT("math_error", "计算错误"),
    ;

    /**
     * 返回状态码
     */
    private final String code;

    /**
     * 描述
     */
    private final String desc;

    /**
     * 获取返回信息
     *
     * @return 返回code
     */
    @Override
    public String code() {
        return this.code;
    }

    /**
     * 获取描述
     *
     * @return 返回描述
     */
    @Override
    public String desc() {
        return this.desc;
    }

}